from django.urls import path, re_path
from .views import UserRegisterCommitValidateApi, UserLoginCommitValidateView, UserSessionCheckValidateView, UserSessionClearValidateView
app_name = "api"

urlpatterns = [
    path('register_validate', UserRegisterCommitValidateApi.as_view(), name="register"),
    path('login_validate', UserLoginCommitValidateView.as_view(), name="login"),
    path('session_check', UserSessionCheckValidateView.as_view(), name="session_check"),
    path('session_clear', UserSessionClearValidateView.as_view(), name="session_clear"),
]